﻿namespace MyHealthByDesign.Helper
{
    /// <summary>
    /// Description:
    /// Constants to use within the project
    /// 
    /// Author: Sanjeev Shrestha
    /// Date Created: 10/20/2011
    /// 
    /// Other code files referenced:
    /// None.
    /// 
    /// Regression Test Information:
    /// None.
    /// 
    /// Revision History:
    /// None.
    /// 
    /// 
    /// Known Faults:
    /// None.
    /// </summary>
    public static class Constants
    {
        public static readonly string FORGOTTON_SUBJECT = "Forgotton Email Address";
        public static readonly string EMAIL_PATTERN = @"^(?!\.)(""([^""\r\\]|\\[""\r\\])*""|"
                                                     + @"([-a-z0-9!#$%&'*+/=?^_`{|}~]|(?<!\.)\.)*)(?<!\.)"
                                                     + @"@[a-z0-9][\w\.-]*[a-z0-9]\.[a-z][a-z\.]*[a-z]$";
        public static readonly string ZIP_PATTERN = @"^(\d{5}-\d{4}|\d{5}|\d{9})$";
        public static readonly string PHONE_PATTERN = @"^(\(?\s*\d{3}\s*[\)\-\.]?\s*)?[2-9]\d{2}\s*[\-\.]\s*\d{4}$";
        public static readonly int MIN_PASSWORD_LENGTH = 6;
        public static readonly int MAX_PASSWORD_LENGTH = 10;
        public static readonly string SMTP_SERVER = "smtp.gmail.com";
        public static readonly int SMTP_PORT = 587;
        public static readonly string SMTP_USERNAME = "myhealth640@gmail.com";
        public static readonly string SMTP_PASSWORD = "carrollcsc640";
        public static readonly string AHA = "Health / Fitness Pre-Participation Questionnaire";
        public static readonly string PARQ = "PAR-Q and YOU";

    }
}